#include<stdio.h>
int root2(double a,double b,double c,double* x1,double *x2)
{
    if(a==0)
        return 0;
    double delta=b*b-4*a*c;
    if(delta<0)
        return 0;
    *x1=(-b+sqrt(delta))/(2*a);
    *x2=-b/(2*a)-*x1;
    return 1;
}
int main()
{
    double a,b,c,x1,x2;
    scanf("%lf%lf%lf",&a,&b,&c);
    if(root2(a,b,c,&x1,&x2))
        printf("x1=%.2f x2=%.2f\n",x1,x2);
    else
        puts("Not a square equation!");
    return 0;
}
